﻿using ShoppingEntity;
using ShoppingEntity.ResultModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IShoppingBll
{
    public interface IMenuInfoBll : IBaseDeleteBll<MenuInfo>
	{
		/// <summary>
		/// 菜单修改
		/// </summary>
		/// <returns></returns>
		bool UpdateMenuInfo(string ID, string title, string describe, int level, int sort, string href, string parentId, string icon, string target);
		/// <summary>
		/// 菜单数据集显示(分页)
		/// </summary>
		/// <param name="page"></param>
		/// <param name="limit"></param>
		/// <param name="count"></param>
		/// <param name="title"></param>
		/// <param name="describe"></param>
		/// <returns></returns>
		object GetMenuInfoByPage(int page, int limit, out int count, string title, string describe);

		/// <summary>
		/// 获取菜单下拉框选数据
		/// </summary>
		/// <returns></returns>
		object GetMenuInfoSelectOption();

		/// <summary>
		/// 获取菜单下拉框选数据(不能选当前id为父级)
		/// </summary>
		/// <returns></returns>
		object GetMenuInfoSelectOption(string menuInfoId);



		/// <summary>
		/// 获取菜单集合信息
		/// </summary>
		/// <returns></returns>
		List<MenuInfoResultModel> GetInitMenus(UserInfo userInfoId);

	}
}
